export type DimCallback = (
  status: 'focus' | 'blur',
  val?: number,
  originVal?: number,
) => void;
export const DimColors = {
  normal: {
    line: 0x101010,
    text: '#ffffff',
    mask: 'transparent',
  },
  hover: {
    line: 0xbcbcbd,
    text: '#000000',
    mask: '#bcbcbd',
  },
  select: {
    line: 0x22b8cf,
    text: '#000000',
    mask: '#22b8cf',
  },
  preview: {
    line: 0xb6b6b6,
    text: '#333333',
    mask: '#ffffff',
  },
  disable: {
    line: 0x8b8b8b,
    text: '#8b8b8b',
    mask: '#ffffff',
  },
};

export const extendsLine = 6; // 线延伸长度
export const extendsArc = 0.01; // 弧延伸长度
export const minusArc = 0.02; // 弧延较少
export const lineWidth = 1; // 线宽
